//
//  Chess.h
//  OC2_实例变量可见度和方法
//
//  Created by 徐国庆 on 14-10-31.
//  Copyright (c) 2014年 lanou3g.com 蓝鸥科技. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Chess : NSObject

// 声明成员变量
{
    NSString *_name;
    NSString *_dergree;// 难易程度
    int _piece;
    NSString *_benefits;// 好处
}
// 声明设置器方法
- (void)setName:(NSString *)name dergree:(NSString *)dergree benefits:(NSString *)bendfits piece:(int)piece;
// 声明访问器方法
- (NSString *)name;
- (NSString *)dergree;
- (NSString *)benefits;
- (int)piece;





@end
